import request from '@/utils/request'

export function queryName(query) {
  return request({
    url: '/med-admin-visit/visit/queryname',
    method: 'get',
    params: query
  })
}

export function changeCard(query) {
  return request({
    url: '/med-admin-visit/visit/query',
    method: 'get',
    params: query
  })
}

export function insertMessage(query) {
  return request({
    url: '/med-admin-visit/visit/insert',
    method: 'get',
    params: query
  })
}

export function queryMedicine(query) {
  return request({
    url: '/med-admin-visit/visit/list',
    method: 'get',
    params: query
  })
}
export function createOrder(query) {
  return request({
    url: '/med-admin-visit/visit/medicineOrder',
    method: 'get',
    params: query
  })
}
